package com.sskj.b70.m.bean;

import com.google.gson.annotations.SerializedName;
import com.sskj.b70.utils.NumberUtil;

import java.io.Serializable;

/**
 * Created by Administrator on 2018/4/2 0002.
 */

public class UserInfo implements Serializable {


    /**
     * account : 384112
     * idcard : 412824199203124753
     * mail : null
     * mobile : 17513234078
     * realname : 吕志豪
     * reg_time : 1530587445
     * status : 2
     * wallone : 0.0000
     * tgno : GET384112
     * tpwd : null
     * crowd_num : 0
     * qd_status : null
     * qd : 0
     * is_shop : false
     * is_apply : 1
     * apply_reason : null
     * concession_rate : 0.00
     * tb_fee : 5
     * tb_max : 10000
     * tb_min : 200
     * usdt : 5000
     */
    public String account;
    @SerializedName(value = "jigou_code", alternate = {"agentAccount"})
    public String jigou_code;
    @SerializedName(value = "idcard", alternate = {"idCardNo"})
    public String idcard;
    public String email;
    @SerializedName(value = "mobile",alternate = {"tel"})
    public String mobile;

    @SerializedName(value = "realname", alternate = {"username"})
    public String realname;
    private String reg_time;
    public int status;  // 是否实名认证  --  实名认证状态 1:已注册未开户 2:开户待审核 2:审核通过 3:审核未通过
    public int pay_list;
    @SerializedName(value = "wallone", alternate = {"usableFund"})
    private String wallone;
    private String tgno;
    @SerializedName(value = "tpwd", alternate = {"tradePwd"})
    public String tpwd;
    private String crowd_num;
    private String qd_status;
    private String qd;
    @SerializedName(value = "is_shop", alternate = {"shop"})
    private boolean is_shop;
    @SerializedName(value = "is_apply", alternate = {"isApplyStatus"})
    private int is_apply;
    private String apply_reason;
    private String concession_rate;
    private String tb_fee;
    private String tb_max;
    private String tb_min;
    @SerializedName(value = "usdt", alternate = {"shopFrostFund"})
    private String usdt;
    private int disable = -1;


    public int getDisable() {
        return disable;
    }

    public void setDisable(int disable) {
        this.disable = disable;
    }

    public int getPay_list() {
        return pay_list;
    }

    public void setPay_list(int pay_list) {
        this.pay_list = pay_list;
    }

    public String getJigou_code() {
        return jigou_code;
    }

    public void setJigou_code(String jigou_code) {
        this.jigou_code = jigou_code;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getMobile() {
        return account;
    }

    public void setMobile(String mobile) {
        this.account = account;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getReg_time() {
        return reg_time;
    }

    public void setReg_time(String reg_time) {
        this.reg_time = reg_time;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getWallone() {
        return NumberUtil.keepMax4(wallone);
    }

    public void setWallone(String wallone) {
        this.wallone = wallone;
    }

    public String getTgno() {
        return tgno;
    }

    public void setTgno(String tgno) {
        this.tgno = tgno;
    }

    public String getTpwd() {
        return tpwd;
    }

    public void setTpwd(String tpwd) {
        this.tpwd = tpwd;
    }

    public String getCrowd_num() {
        return crowd_num;
    }

    public void setCrowd_num(String crowd_num) {
        this.crowd_num = crowd_num;
    }

    public String getQd_status() {
        return qd_status;
    }

    public void setQd_status(String qd_status) {
        this.qd_status = qd_status;
    }

    public String getQd() {
        return qd;
    }

    public void setQd(String qd) {
        this.qd = qd;
    }

    public boolean isIs_shop() {
        return is_shop;
    }

    public void setIs_shop(boolean is_shop) {
        this.is_shop = is_shop;
    }

    public int getIs_apply() {
        return is_apply;
    }

    public void setIs_apply(int is_apply) {
        this.is_apply = is_apply;
    }

    public String getApply_reason() {
        return apply_reason;
    }

    public void setApply_reason(String apply_reason) {
        this.apply_reason = apply_reason;
    }

    public String getConcession_rate() {
        return concession_rate;
    }

    public void setConcession_rate(String concession_rate) {
        this.concession_rate = concession_rate;
    }

    public String getTb_fee() {
        return tb_fee;
    }

    public void setTb_fee(String tb_fee) {
        this.tb_fee = tb_fee;
    }

    public String getTb_max() {
        return tb_max;
    }

    public void setTb_max(String tb_max) {
        this.tb_max = tb_max;
    }

    public String getTb_min() {
        return tb_min;
    }

    public void setTb_min(String tb_min) {
        this.tb_min = tb_min;
    }

    public String getUsdt() {
        return usdt;
    }

    public void setUsdt(String usdt) {
        this.usdt = usdt;
    }
}
